<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Bishop news helper</title>
    <script src="/static/js/ksmain.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap.css">
    <link rel="icon" type="image/png" href="/static/img/favicon.ico" />
</head>
<body>
    <div class="navbar navbar-inverse navbar-static-top">
            <div class="navbar-inner">
                <div class="container">
                        <div class="navbar-brand"><h1 style="margin: 0 0 0 280px;color: #EFF6E8;">Bishop news helper</h1></div>
                    <div class="navbar-text pull-right">
                    %if defined('name'):
                        <a href="/main"><button class="btn btn-primary btn-sm" type="button">{{name}}</button></a>
                        <a href="/logout"><button class="btn btn-primary btn-sm" type="button">Выйти</button></a>
                    %else:
                        <a href="/login"><button class="btn btn-primary btn-sm" type="button">Войти</button></a>
                        <a href="/registr"><button class="btn btn-primary btn-sm" type="button">Регистрация</button></a>
                %end
                    </div>
                </div>
            </div>
    </div>
        <div class="container">
           <div class="row">
             <div class="col-md-3">
               <div class="well sidebar-nav">
                 <ul class="nav nav-list">
                   <li><a href="/main">Выборка</a></li>
                   <li><a href="/news">Новости</a></li>
                   <li><a href="/contentfaq">FAQ</a></li>
                   <li><a href="/contentconn">Обратная связь</a></li>
                   <li><a href="/bugreport">Багтрекер</a></li>
                 </ul>
               </div>
             </div>
